﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="cases.aspx.cs" Inherits="cases" %>

<%@ Register Assembly="aspnetpager" Namespace="Wuqi.Webdiyer" TagPrefix="Webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="css/NewCss.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<div id="All-Table">
  <div id="Case-PP"></div>
  <div id="Title-Line">
    <h2>熱門案件</h2>
  </div>
    <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
        <ItemTemplate>
            <div class="Case-table-purple">
    <div class="Case-number">案件編號  <%# Eval("CaseNo")%></div>    
    <div class="Case-Title"><%# Eval("Title")%></div>
    <div class="Case-Price">競標金額：<%# Eval("GetStr_BidPrice")%></div>
    <div class="Case-BPP"><a href="case_in.aspx?id=<%# Eval("PostId") %>"><img src="upload/<%# Eval("PicFileName")%>" width="205" height="250" /></a></div>
    <table border="0" cellpadding="0" cellspacing="3" class="Case-iconTable">
      <tr>
        <td width="15"><img src="image/case-icon1.png" width="15" height="14" /></td>
        <td width="35"><%# Eval("Collection") %></td>
        <td width="19"><img src="image/case-icon2.png" width="19" height="11" /></td>
        <td width="35"><%# Eval("Viewer") %></td>
        <td width="98" align="right">
            <asp:HyperLink ID="aFB" runat="server" Target="_blank"><img src="image/case-icon5.png" width="15" height="15" /></asp:HyperLink> <asp:HyperLink ID="aGoogle" runat="server" Target="_blank"><img src="image/case-icon4.png" width="14" height="14" /></asp:HyperLink> <asp:HyperLink ID="aTwitter" runat="server" Target="_blank"><img src="image/case-icon3.png" width="14" height="14" /></asp:HyperLink></td>
      </tr>
    </table>
  </div>
        </ItemTemplate>
    </asp:Repeater>  

    <div id="PageNumber">
        <Webdiyer:AspNetPager ID="AspNetPager1" runat="server" Height="28px"
            OnPageChanged="AspNetPager1_PageChanged" PageIndexBoxType="TextBox" PageSize="8"
            ShowPageIndexBox="Never" ShowFirstLast="true"
            FirstPageText="<p class='PageNumber-01'>第一頁</p>" LastPageText="<p class='PageNumber-01'>最末頁</p>"
            PrevPageText="<p class='PageNumber-01'>上一頁</p>" NextPageText="<p class='PageNumber-01'>下一頁</p>" NumericButtonTextFormatString="<p class='PageNumber-01'>{0}</p>" />
    </div>
</div>

</asp:Content>

